/*
 * 亿迅公司源代码，版权归亿迅公司所有。 项目名称 : bnet_process 创建日期 : Apr 30, 2009 修改历史 : 1. [Apr 30,
 * 2009]创建文件 by zhoujinhuang
 */
package cn.eshore.bnet.bpm.dto;

import java.util.Date;

/**
 * 任务描述
 * 
 * @author zhoujinhuang
 */
public class TaskInstanceDTO {
    long id = 0;

    int version = 0;

    protected String name = null;

    protected String description = null;

    protected String actorId = null;

    protected Date create = null;

    protected Date start = null;

    protected Date end = null;

    protected Date dueDate = null;

    // protected int priority = Task.PRIORITY_NORMAL;
    protected boolean isCancelled = false;

    protected boolean isSuspended = false;

    protected boolean isOpen = true;

    protected boolean isSignalling = true;

    protected boolean isBlocking = false;

    protected String taskType = null;

    protected long processInstanceId = 0;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getVersion() {
        return version;
    }

    public void setVersion(int version) {
        this.version = version;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getActorId() {
        return actorId;
    }

    public void setActorId(String actorId) {
        this.actorId = actorId;
    }

    public Date getCreate() {
        return create;
    }

    public void setCreate(Date create) {
        this.create = create;
    }

    public Date getStart() {
        return start;
    }

    public void setStart(Date start) {
        this.start = start;
    }

    public Date getEnd() {
        return end;
    }

    public void setEnd(Date end) {
        this.end = end;
    }

    public Date getDueDate() {
        return dueDate;
    }

    public void setDueDate(Date dueDate) {
        this.dueDate = dueDate;
    }

    public boolean isCancelled() {
        return isCancelled;
    }

    public void setCancelled(boolean isCancelled) {
        this.isCancelled = isCancelled;
    }

    public boolean isSuspended() {
        return isSuspended;
    }

    public void setSuspended(boolean isSuspended) {
        this.isSuspended = isSuspended;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean isOpen) {
        this.isOpen = isOpen;
    }

    public boolean isSignalling() {
        return isSignalling;
    }

    public void setSignalling(boolean isSignalling) {
        this.isSignalling = isSignalling;
    }

    public boolean isBlocking() {
        return isBlocking;
    }

    public void setBlocking(boolean isBlocking) {
        this.isBlocking = isBlocking;
    }

    public String getTaskType() {
        return taskType;
    }

    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }

    public long getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(long processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    // protected List<Comment> comments = null;

}
